home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
program
/
dejava.zip
/
HelloWorldApp.java
< prev
next >
Wrap
Text File
|
1996-09-09
|
414b
|
24 lines
//
// This is a very simple Java application
//
class HelloWorldApp {
static int Limit = 3;
public static void main( String args[] ) {
int j = Limit;
switch (Limit) {
case 1: j = 1; break;
case 3: j = j==1 ? 17: 12; break;
default: j = 3; break;
}
for ( int i = 1; i <= Limit; i++ )
System.out.println( "Hello World!" );
return;
}
}